package com.zhongxi.guoyuan.entity.user;

import com.zhongxi.guoyuan.entity.BaseResult;
import com.zhongxi.guoyuan.entity.user.center.UserRight;

import java.util.List;

/**
 * Created by Administrator on 2016/12/20.
 */

public class TodayEarningResult {

    private int code;
    private UserInfoCoinRecordDetailResult userInfo;
    private RecodeCoinRecordDetailResult recode;
    private String sharesgains;
    private BaseResult safeobj;
    private List<UserRight> rights;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public UserInfoCoinRecordDetailResult getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoCoinRecordDetailResult userInfo) {
        this.userInfo = userInfo;
    }

    public RecodeCoinRecordDetailResult getRecode() {
        return recode;
    }

    public void setRecode(RecodeCoinRecordDetailResult recode) {
        this.recode = recode;
    }

    public String getSharesgains() {
        return sharesgains;
    }

    public void setSharesgains(String sharesgains) {
        this.sharesgains = sharesgains;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }

    public List<UserRight> getRights() {
        return rights;
    }

    public void setRights(List<UserRight> rights) {
        this.rights = rights;
    }

    public static class UserInfoCoinRecordDetailResult {
        /**
         * id : usr1424583e32846f585
         * username : 丹婧妍
         * shopname : 疯癫
         * mphone : qKYRXY%2FRD5PhRrG%2BaVmDkw
         * avatar : null
         * ctime : 2016-11-30 09:59:32
         * isshareholders : 0
         * isprivilege : 1
         * ismerchant : 0
         * deleted : 0
         */

        private String id;
        private String username;
        private String shopname;
        private String mphone;
        private Object avatar;
        private String ctime;
        private String isshareholders;
        private String isprivilege;
        private String ismerchant;
        private String deleted;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getShopname() {
            return shopname;
        }

        public void setShopname(String shopname) {
            this.shopname = shopname;
        }

        public String getMphone() {
            return mphone;
        }

        public void setMphone(String mphone) {
            this.mphone = mphone;
        }

        public Object getAvatar() {
            return avatar;
        }

        public void setAvatar(Object avatar) {
            this.avatar = avatar;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getIsshareholders() {
            return isshareholders;
        }

        public void setIsshareholders(String isshareholders) {
            this.isshareholders = isshareholders;
        }

        public String getIsprivilege() {
            return isprivilege;
        }

        public void setIsprivilege(String isprivilege) {
            this.isprivilege = isprivilege;
        }

        public String getIsmerchant() {
            return ismerchant;
        }

        public void setIsmerchant(String ismerchant) {
            this.ismerchant = ismerchant;
        }

        public String getDeleted() {
            return deleted;
        }

        public void setDeleted(String deleted) {
            this.deleted = deleted;
        }
    }

    public static class RecodeCoinRecordDetailResult {

        private String id;
        private String sharenum;
        private String sharesgains;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getSharenum() {
            return sharenum;
        }

        public void setSharenum(String sharenum) {
            this.sharenum = sharenum;
        }

        public String getSharesgains() {
            return sharesgains;
        }

        public void setSharesgains(String sharesgains) {
            this.sharesgains = sharesgains;
        }
    }

}
